#include "AsyncLog.h"
#include <stdio.h>

bool AsyncLog::m_bToFile = true;
LOG_LEVEL AsyncLog::m_curLogLevel = LOG_LEVEL_INFO;

bool AsyncLog::Init()
{
    
    return true;
}

bool AsyncLog::Uninit()
{
    return true;
}
    
    
bool AsyncLog::Output(LOG_LEVEL nlevel,const char*pszFmt,...)
{

    return true;
}

bool AsyncLog::Output(LOG_LEVEL nlevel,const char* pszFileName,int nLineNo,const char *pszFmt,...)
{
    if(nlevel != LOG_LEVEL_CRITICAL)
    {
        if(nlevel < m_curLogLevel)
        {
            return false;
        }
    }

    return true;
}

bool AsyncLog::OutputBuff(unsigned char* buff,int size)
{
    return true;
}